import { http } from "@/utils/http";
import type { HttpResult } from "@/utils/http/types";

export function queryLoginLogTable(params) {
  return http.request<HttpResult>("get", "/admin/loginlog/get/table", {
    params: params
  });
}

export function queryLoginLogList(params) {
  return http.request<HttpResult>("get", "/admin/loginlog/get/list", {
    params: params
  });
}

export function deleteLoginLog(ids) {
  return http.request<HttpResult>("post", `/admin/loginlog/delete/${ids}`);
}
